package wan.com.templateproject.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.extern.slf4j.Slf4j;

/**
 * @author wan
 * @version 1.0.0
 * @Description people实体
 * @createTime 2021年08月17日 14:03:44
 */
@Data
@AllArgsConstructor
@TableName("t_people")
@Builder
@Slf4j
public class People {
    private int id;
    private String name;
    private int age;
    //0:女,1:男
    private int gender;
    @TableField("hobby")
    private String hobby;

}
